Comments (12)
It's been a while, but in case it's of use, I believe I'm using the pre-compiled binaries.
from tab-rs.
Disclaimer:
The maintainers are entitled to mark this as off-topic if they wish, but I believe this is what many others are coming to this issue thread to see.
cargo install tab
does not work. I dug into the github workflows and saw how other people could be installing tab, but potentially neglecting to share how they're doing it. The procedure I've used to get an installation of tab on my system is:
# Gather the source repo
git clone https://github.com/austinjones/tab-rs tab && cd tab
# Replace `v0.5.7` with your desired version.
# You can run `git branch -d <TAB>` to see the available versions
git checkout v0.5.7
cargo build --release --bin tab
# Preserve the installation until it can be installed from crates.io
_entry="export PATH=$PWD/target/release:\$PATH"
echo $_entry >> ~/.bashrc && exec bash
# Installing completions for your shell.
tab --install bash
Please consider keeping this comment available. It's meaningful to newcomers who want to engage with this software.
from tab-rs.
The current
main
branch now has an updated version ofdialoguer
, so you can build and installtab
by just running:
Great! I think this issue is alright to "finally" be closed, then?
a massive thank you to the maintainer. I understand this might not be their main focus, but it's great to see a fresh take on multiplexers and I've enjoyed using tab after recently discovering it. It's a great tool!
100%. I very much like the way it's organized. When I was using it in 2021 it was very nice, but maybe a bit slow when using heavy interactive programs such as TUI editors (neovim, emacs, nano, kakoune etc.). Still very much a +1 on that!
from tab-rs.
I managed to build tab on Linux on both debug and release modes. Could you try again?
I tried to build it on WSL earlier this day and I received the error you mentioned. Maybe it was fixed.
from tab-rs.
On Ubuntu 20.04 I can't get it to install as well:
erwin@sanny:~$ cargo version
cargo 1.52.0 (69767412a 2021-04-21)
erwin@sanny:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
erwin@sanny:~$ cargo install tab
Updating crates.io index
Installing tab v0.5.7
error: failed to compile `tab v0.5.7`, intermediate artifacts can be found at `/tmp/cargo-installUvAdpY`
Caused by:
failed to select a version for the requirement `zeroize = "^0.9.3"`
candidate versions found which didn't match: 1.3.0, 1.2.0, 1.1.1, ...
location searched: crates.io index
required by package `dialoguer v0.7.0`
... which is depended on by `tab v0.5.7`
from tab-rs.
Same here on Arch:
➜ cargo install tab
Updating crates.io index
Downloaded tab v0.5.7
Downloaded 1 crate (30.0 KB) in 1.99s
Installing tab v0.5.7
error: failed to compile `tab v0.5.7`, intermediate artifacts can be found at `/tmp/cargo-installl1Y2v3`
Caused by:
failed to select a version for the requirement `zeroize = "^0.9.3"`
candidate versions found which didn't match: 1.3.0, 1.2.0, 1.1.1, ...
location searched: crates.io index
required by package `dialoguer v0.7.0`
... which is depended on by `tab v0.5.7`
from tab-rs.
I managed to build tab on Linux on both debug and release modes. Could you try again?
I tried to build it on WSL earlier this day and I received the error you mentioned. Maybe it was fixed.
Nope, still doesn't work:
❯ cargo install tab
Updating crates.io index
Downloaded tab v0.5.7
Downloaded 1 crate (30.0 KB) in 1.16s
Installing tab v0.5.7
error: failed to compile `tab v0.5.7`, intermediate artifacts can be found at `/tmp/cargo-install5ucHke`
Caused by:
failed to select a version for the requirement `zeroize = "^0.9.3"`
candidate versions found which didn't match: 1.3.0, 1.2.0, 1.1.1, ...
location searched: crates.io index
required by package `dialoguer v0.7.0`
... which is depended on by `tab v0.5.7`
from tab-rs.
Oh, I just realized that I posted the same as the guy above me
from tab-rs.
Maybe related to #351?
from tab-rs.
Maybe related to #351?
Yeah, looks like it to me. Updating dialoguer
to 0.8 worked for me. Haven't seen any issues.
from tab-rs.
I know this is an old thread, but just wanting to give an update for anyone else who comes across this issue. The current main
branch now has an updated version of dialoguer
, so you can build and install tab
by just running:
cargo install --path tab
or as @guy-who-googles says, use a pre-compiled binary.
That said, as of writing, the current released version (v0.5.7), and therefor the version available via crates.io, does not include this update. So running:
brew install austinjones/taps/tab
or:
cargo install tab
appears to still be broken. I'd suggest that a minor version release might help new users, just so that the installation instructions on the README page work. But appreciate this is a side project and the maintainer might be busy.
Also wanted to add (as a first time writer on this project), a massive thank you to the maintainer. I understand this might not be their main focus, but it's great to see a fresh take on multiplexers and I've enjoyed using tab
after recently discovering it. It's a great tool!
from tab-rs.
Great! I think this issue is alright to "finally" be closed, then?
I would agree, appears to be resolved.
from tab-rs.
Related Issues (20)
- Open a new tab from the working directory of the current tab HOT 2
- Status update HOT 1
- Issues installing tab on arm64. Failed to select version for zeroize = "^0.9.3" HOT 3
- Use package manifest in Cargo.toml
- Option to change Tab Color of Fuzzy Finder HOT 1
- tab --install -y
- Please set `-l` instead of `--login` flag when starting the shell for portability.
- User friendly config parse errors in `tab --check`
- Warnings about missing fuzzy config
- Visually indicate active tab in fuzzy finder
- Complete selected tab name with the right arrow key
- Idea: Scratch tabs
- Provide ability of to next/previous tab using keyboard shortcuts outside fuzzy finder
- Failed to install with cargo HOT 1
- M2 Mac support ? HOT 1
- Unable to show images under kitty HOT 1
- Can no longer be installed with `cargo install tab` HOT 3
- Set terminal emulator tab name to match tab-rs tab
- [ERROR] Failed to initialize the tab command: timeout while waiting for tab daemon
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tab-rs.