How to make apt-get working in Oracle Linux?
Solution 1
Oracle Linux doesn't use apt
(apt is for debian or debian forks), it uses yum
or dnf
because yum is deprecated(added note in the botton).
to install wine you should use the folowing command:
How to install wine using Yellowdog Updater Modified:
yum install wine
How to install wine using dnf
dnf install wine
Documentation about how to install packages in Oracle Linux
NOTE about
dnf
: i've only tested in Fedora 22, i hearddnf
still experimental and is not crossing another distributions.
Solution 2
Different Linux distributions different ways to install new packages. 'apt-get' is a command used by the Advanced Packaging Tool (APT) mostly used by Debian and its derivatives.
Oracle Linux seems to use the RPM Package Manager, so you have to use that to install wine.
https://oracle-base.com/articles/linux/installing-software-packages might be helpful.
Related videos on Youtube
pkatuboni
Updated on September 18, 2022Comments
-
pkatuboni over 1 year
I have tried to install Wine on to my Oracle Linux by using
apt-get install wine
, but it didn't work.I have tried this as normal user but it was showing this error:
bash: apt-get: command not found.
I also tried as
root
withsudo apt-get install wine
. It, too, throws an error:ksai is not in the sudoers file. This incident will be reported.
I added that user to
sudoers
usingvisudo
as follows:ksai ALL=(ALL) ALL**
It was of no use. How to make the installation work?
-
qasdfdsaq almost 9 yearsYou need to install apt-get first.
-