Ask Your Question
2

dpkg and apt

asked 2015-07-31 13:50:37 -0600

KotahJ gravatar image

updated 2015-08-01 13:28:06 -0600

I first started using Linux when my uncle put Ubuntu on my computer and I am thinking about using fedora. Is there any way I can use dpkg and apt-get like in Ubuntu. Thanks.

edit retag flag offensive close merge delete

Comments

Imposible! Fedora uses "dnf"

Install a package

su
dnf install package_foo

Remove

su
dnf remove package_foo

Update

su
dnf -y update
davidva gravatar imagedavidva ( 2015-07-31 16:58:05 -0600 )edit
2

I don't recommend runing sudo dnf update with the option -y. I recommend that you always first read questions that DNF has before answering them. Also, before running update or upgrade (which is the same in DNF) you can check for updates: sudo dnf check-update.

florian gravatar imageflorian ( 2015-08-01 00:53:52 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
4

answered 2015-07-31 14:18:45 -0600

aeperezt gravatar image

Fedora use DNF and rpm normally you only need to use dnf but its nice to know rpm. About your question well no you cannot run apt-get and dpkg on Fedora.

edit flag offensive delete link more

Comments

If you know how to run apt-get and dpkg you can very quickly adapt to DNF and rpm. Don't worry!

florian gravatar imageflorian ( 2015-07-31 14:23:12 -0600 )edit

Ok cool, thanks.

KotahJ gravatar imageKotahJ ( 2015-08-01 13:25:24 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2015-07-31 13:50:37 -0600

Seen: 967 times

Last updated: Aug 01 '15