如何在Ubuntu/Linux Mint上安装Winamp


您正在寻找替代的Linux音乐播放器吗?Winamp可能是一个不错的选择。Winamp支持各种现代和专业的音乐文件格式,包括MIDI、MOD、MPEG-1音频层1和2、AAC、M4A、FLAC、WAV、OGG Vorbis和Windows Media Audio。它支持MP3和AAC的无缝播放,以及跨轨道的Replay Gain音量均衡。本文介绍“如何在Ubuntu/Linux Mint上安装Winamp”。

安装Winamp

要安装Winamp,请从存储库访问Winamp PPA,使用以下命令:

$ sudo add-apt-repository ppa:forkotov02/ppa

示例输出应如下所示:

Releases of Qt-based multimedia player (Qmmp)

Installation:
sudo add-apt-repository ppa:forkotov02/ppa
sudo apt-get update
sudo apt-get install qmmp qmmp-plugin-pack libtag1-vanilla

Qt4-based version (for Ubuntu 16.04 or higher):
sudo apt-get install qmmp-qt4 qmmp-plugin-pack-qt4

   More info: https://launchpad.net/~forkotov02/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmpr684g0lc/secring.gpg' created
gpg: keyring `/tmp/tmpr684g0lc/pubring.gpg' created
gpg: requesting key C4FBC3E6 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpr684g0lc/trustdb.gpg: trustdb created
gpg: key C4FBC3E6: public key "Launchpad PPA for Ilya Kotov" imported
gpg: Total number processed: 1
gpg:                imported: 1 (RSA: 1)
OK

然后,使用以下命令更新Linux软件包索引:

$ sudo apt-get update

示例输出应如下所示:

Ign http://dl.google.com stable InRelease
Hit http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release
Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://dl.google.com stable/main amd64 Packages
Ign http://in.archive.ubuntu.com trusty InRelease
Hit http://ppa.launchpad.net trusty InRelease
Ign http://extras.ubuntu.com trusty InRelease
Get:2 http://in.archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:3 http://extras.ubuntu.com trusty Release.gpg [72 B]
Get:4 http://ppa.launchpad.net trusty InRelease [15.4 kB]
Hit http://extras.ubuntu.com trusty Release
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://ppa.launchpad.net trusty InRelease
Get:5 http://security.ubuntu.com trusty-security/main Sources [108 kB]
Get:6 http://in.archive.ubuntu.com trusty-backports InRelease [65.9 kB]
Hit http://extras.ubuntu.com trusty/main amd64 Packages
...............................................................

要安装Winamp,请使用以下命令:

$ sudo apt-get install qmmp qmmp-plugin-pack

示例输出应如下所示:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
   linux-headers-4.2.0-27 linux-headers-4.2.0-27-generic
   linux-image-4.2.0-27-generic linux-image-extra-4.2.0-27-generic
   linux-signed-image-4.2.0-27-generic php7.0-opcache
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
   libadplug-2.2.1-0 libbinio1ldbl libbs2b0 libopusfile0 libqmmp-misc libqmmp0
   libqmmpui0 libsidplayfp libxmp4 milkytracker opencubicplayer
   opencubicplayer-doc schism unmo3 xmp
Suggested packages:
   adplug-utils sidplay2fp goattracker qmmp-plugin-projectm
The following NEW packages will be installed:
   libadplug-2.2.1-0 libbinio1ldbl libbs2b0 libopusfile0 libqmmp-misc libqmmp0
   libqmmpui0 libsidplayfp libxmp4 milkytracker opencubicplayer
   opencubicplayer-doc qmmp qmmp-plugin-pack schism unmo3 xmp
0 upgraded, 17 newly installed, 0 to remove and 10 not upgraded.
Need to get 5,614 kB of archives.
After this operation, 21.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
......................................

要打开Winamp,请使用以下命令:

$ qmmp

输出应如下所示:

要从Linux中删除Winamp,必须先删除Winamp PPA,如下所示:

$ sudo add-apt-repository --remove ppa:forkotov02/ppa

示例输出应如下所示:

Releases of Qt-based multimedia player (Qmmp)

Installation:
sudo add-apt-repository ppa:forkotov02/ppa
sudo apt-get update
sudo apt-get install qmmp qmmp-plugin-pack libtag1-vanilla

Qt4-based version (for Ubuntu 16.04 or higher):
sudo apt-get install qmmp-qt4 qmmp-plugin-pack-qt4

   More info: https://launchpad.net/~forkotov02/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel removing it

要删除Winamp,请使用以下命令:

$ sudo apt-get remove qmmp

示例输出应如下所示:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
   linux-headers-4.2.0-27 linux-headers-4.2.0-27-generic
   linux-image-4.2.0-27-generic linux-image-extra-4.2.0-27-generic
   linux-signed-image-4.2.0-27-generic php7.0-opcache
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
   qmmp
0 upgraded, 0 newly installed, 1 to remove and 8 not upgraded.
After this operation, 340 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 252174 files and directories currently installed.)
Removing qmmp (0.9.7-1ubuntu1~trusty0) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1.1) ...
........................................................

恭喜!现在您知道“如何在Ubuntu/Linux Mint上安装Winamp”了。我们将在下一篇文章中学习更多关于这些命令类型的知识。继续关注!

更新于:2020年1月22日

5K+ 次浏览

启动您的职业生涯

通过完成课程获得认证

开始
广告