You are not logged in.
Pages: 1
Topic closed
Most projects on Github that have dependancies usually provide a list of Ubuntu packages and users of other GNU/Linux distros have to manually search for the names of the packages on their specific ditro repos. For example, in Ubuntu it is golang-go while in the Arch repo it is go. Is there an easier way to do this rather than the manual way ?
Last edited by abadojack (2017-01-25 15:29:37)
Offline
There are large number of packages already in official repo, and many more are in aur, only in uncommon cases one has to use github sources directly.
Arch is home!
https://github.com/Docbroke
Offline
I'm not talking about the availabilty of packages.
Someone tells you to apt install package_name but the package has a different name in the Arch official repo. So you have to search for it manually in the Arch repos before you can
pacman -S same_package_but_different_name.
For example, when installing Go Programming language tools in Ubuntu you use apt install golang-go, but in Arch we use pacman -S go.
Offline
You should find that the majority of packages have the same name on both distros. There are a few exceptions such as Arch doesn't seperate dev packages, so foo-dev on Ubuntu would just be foo on Arch.
There isn't any automated way to compare the two, so a bit of manual searching will always be needed.
Edit - It may be possible to come up with some sort of script by querying the files a Ubuntu package provides (if this information is available online ) and then feeding it through pacman -F.
Last edited by Slithery (2017-01-25 10:55:16)
Offline
You can easily find packages in arch with
pacman -Ss 'package-to-search'
, and there is wonderful arch-wiki which will tell exactly how to install and configure most common packages. If all this fails you can ask in the forums.
For all officially supported packages, pacman will manage dependencies itself, sameway when installing from aur, dependencies are listed in PKGBUILDS and that can be managed automatically by aur-helpers.
Arch is home!
https://github.com/Docbroke
Offline
The Ubuntu package information is available online at http://packages.ubuntu.com. I guess i'll have to write the script.
You should find that the majority of packages have the same name on both distros. There are a few exceptions such as Arch doesn't seperate dev packages, so foo-dev on Ubuntu would just be foo on Arch.
There isn't any automated way to compare the two, so a bit of manual searching will always be needed.
Edit - It may be possible to come up with some sort of script by querying the files a Ubuntu package provides (if this information is available online ) and then feeding it through pacman -F.
Offline
Thanks abadojack for talking about this issue!
Indeed, this is what's been keeping me away from Arch-based distros. And it's not only the different names and the lack of an automated way to convert them. I fear that most tools are developed with apt package versions as well! So, there's always a risk that the most updated versions from Arch repos will cause other issues!
Offline
This thread is almost five years old. Do not necrobump, especially topics marked [Solved].
Closing,
Offline
This thread is almost five years old. Do not necrobump, especially topics marked [Solved].
Closing,
It wasn't intentional. Arch's threads are too new and thus incompatible. The user's distro can only handle threads from before 2018
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Pages: 1
Topic closed