首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法从.tar.xz文件安装VLC程序

无法从.tar.xz文件安装VLC程序
EN

Ask Ubuntu用户
提问于 2016-01-18 13:29:14
回答 1查看 2.7K关注 0票数 0

我成功地解压缩了.tar.xz文件,然后运行了./configure命令,我认为它也能工作。但是,当我尝试执行make命令时,问题就出现了。

压缩文件中给定的安装文件如下:

代码语言:javascript
复制
INSTALL file for the VLC media player
=====================================

More extensive information for *nix, Windows and Mac OS X users can be
found here: http://wiki.videolan.org/Compile_VLC

People installing VLC for Windows from source MUST read:
http://wiki.videolan.org/Win32Compile

Bootstrapping VLC
=================

If you retrieved VLC from the git server and do not have yet a "configure"
script, please run:

   ./bootstrap

Configuring VLC
===============

A typical way to configure VLC is:

   ./configure

See `./configure --help' for more information.

If you intend to debug stuff, you may want to compile with debugging
symbols:

   make distclean ; ./configure --enable-debug

We recommend using GCC to build VLC, though some people reported success
with the Intel C compiler (version 8) as well. GCC version 3.3 or higher is
required. On older systems (e.g. FreeBSD 4.x), please select a more recent
version manually by setting the CC and CXX environment variables
appropriately while running the ./configure shell script.


Building VLC
============

Once configured, run `make' to build VLC.


Installing and running VLC
==========================

You can install the VLC and its plugins by typing:

   make install

But you don't need to install it if you don't want to; VLC can be launched
from the current directory as well:

   ./vlc


Building packages
=================

To build a Debian package, you need to get the packaging info
   git clone git://git.debian.org/pkg-multimedia/vlc.git debian
and then
   git-buildpackage
EN

回答 1

Ask Ubuntu用户

发布于 2016-01-18 14:34:40

我不知道vlc的那个版本来自git,我不能构建那么多的配置错误,但是我可以从vlc站点构建这一个

首先,我们需要安装这些

代码语言:javascript
复制
sudo apt-get install git libtool build-essential pkg-config autoconf
sudo apt-get build-dep vlc

现在获取并构建vlc

代码语言:javascript
复制
wget videolan.mirrors.uk2.net/vlc/2.2.1/vlc-2.2.1.tar.xz
tar xf ~/vlc-2.2.1.tar.xz
cd ~/vlc-2.2.1
./bootstrap
./configure
make

您可以在这里运行它,也可以用

代码语言:javascript
复制
sudo make install

在15.10测试

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/722490

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档