Welcome visitors from Debian/Ubuntu or "Switchers". You know how to work with your tools but Conary is new for you? Then this page is what you want to read. We try to show you some similarities so you can have a good start. Be aware that Conary still is very different and is generally much more powerful than dpkg. But for now this should be enough. And BTW, as this is a wiki page your input is always welcome.
Generally you should know that a Conary package contains troves, which you can install/deinstall individually.
Conary is not a frontend like apt-get is for dpkg. Also we are still missing a real GUI for installation. But this is in the works and should be available on one of our next releases, hopefully.
What troves does a package have?
# conary q gnome-games --troves gnome-games=2.18.0-1-1 gnome-games:data=2.18.0-1-1 gnome-games:doc=2.18.0-1-1 gnome-games:locale=2.18.0-1-1 gnome-games:python=2.18.0-1-1 gnome-games:runtime=2.18.0-1-1
So here you see that the package gnome-games contains of five different troves. You actually can work with conary mostly on each trove instead of just the package name. Also you could deinstall the docs package if these are not required by another package.
Is package name "X" installed?
- Debian: dpkg -l X
dlocate X - Conary: conary q X
List package X content
- Debian: dpkg -L X
- Conary: conary q X --ls
Hint: You can also do "conary q X --lsl" to see all the file permissions.
What versions of package X are available?
- Debian: apt-cache policy X
- Conary: conary rq --all-versions X
Install and Update package X
- Debian: apt-get install X
- Conary: conary update X
Update whole system
- Debian: apt-get update ; apt-get upgrade
- Conary: conary updateall
Distribution Upgrade to next higher version
- Debian: apt-get update; apt-get dist-upgrade
- Conary: conary updateall
Be aware that you are not getting warned if you switch to a higher minor version of Foresight. It just happens with updateall. Note that this command will not update your system from Foresight Linux 1.x to 2.x.
Which package provides the file /bin/X ?
- Debian: dpkg -S /bin/X
- Conary: conary q --path /bin/X
- conary rq --path /bin/X
Remove a package
- Debian: apt-get remove X
- Conary: conary erase X