1

debcargo is a Debian package for packaging rust apps in .deb format. It is available in Debian Buster and above, but I could not find the package in Ubuntu 20.04 and 20.10.

Why is the package not available in Ubuntu? Is it available under some other name?

Archisman Panigrahi
  • 28,338
  • 18
  • 105
  • 212
  • Do you mean dh-cargo ? https://packages.ubuntu.com/search?suite=default§ion=all&arch=any&keywords=dh-cargo&searchon=names ; https://packages.debian.org/search?keywords=debcargo&searchon=names&suite=all§ion=all I'm out of my league here, so don't know if they are the same, or just similar/related – guiverc Feb 13 '21 at 10:36
  • 1
    debcargo was added to Ubuntu in 20.04. See How do I enable the "Universe" repository?. However, it's in -proposed, so may not be ready for wide use. – user535733 Feb 13 '21 at 11:48
  • @user535733, really https://packages.ubuntu.com/search?suite=all&searchon=names&keywords=debcargo ? There is no /usr/bin/debcargo in https://packages.ubuntu.com/hirsute/all/dh-cargo/filelist . – N0rbert Feb 13 '21 at 11:50
  • It's in -proposed. It shows up in rmadison. – user535733 Feb 13 '21 at 11:53

1 Answers1

1

As it is available for Debian, then you can install it manually on Ubuntu 20.04 LTS which is based on bullseye.

Use commands below:

cd ~/Downloads
wget http://ftp.debian.org/debian/pool/main/d/dh-cargo/dh-cargo_24_all.deb
wget http://ftp.debian.org/debian/pool/main/r/rust-debcargo/debcargo_2.4.4-1_amd64.deb
wget http://ftp.debian.org/debian/pool/main/libg/libgit2/libgit2-1.1_1.1.0+dfsg.1-4_amd64.deb

sudo apt-get install ./libgit2-1.1_1.1.0+dfsg.1-4_amd64.deb ./dh-cargo_24_all.deb ./debcargo_2.4.4-1_amd64.deb

and then start using debcargo.


If you prefer to use Ubuntu repositories - use package from -proposed pocket:

cd ~/Downloads
wget http://archive.ubuntu.com/ubuntu/pool/universe/r/rust-debcargo/debcargo_2.4.2-1_amd64.deb
sudo apt-get install ./debcargo_2.4.2-1_amd64.deb
N0rbert
  • 99,918