You are on page 1of 8

·

linux
ubuntu

Share
Improve this question
Follow
edited Oct 10, 2017 at 2:22
asked Apr 21, 2015 at 0:01

Black Swan
99133 gold badges99 silver badges1616 bronze badges

If you are new to linux, you may not be aware that you will
generally want to install applications from the repositories, which
are packaged and ready to install. Go to the Software Center in the
menu, search and install it from there. If you don't then please edit
the question to explain why, as there are often better options than
trying to install an app in the way you describe.

– Paul

Apr 21, 2015 at 0:28

3
@paul, i installed software form there many times, but now i think i
should know the way how to install without software center

– Black Swan

Apr 21, 2015 at 0:32

@BlackSwan Well, you maybe should be able to do so but one cannot


recommend to do that. Always prefer repo-packages. Anyway, how to
"install"?: Just extract the files, compile them if needed (instructions
should be in README or similar files) and copy them somewhere
handy. For a system-wide installation to /usr/bin the binaries etc.,
but you might need to reconfigure the program to use /usr/lib as
library-path etc. Instead of copying, make install might just work
fine.

– ljrk

Sep 25, 2015 at 7:02

Add a comment

5 Answers
Sorted by:
49

This is not good practice unless you know the implications of installing
software this way, and trust the source of the file.

Decompress:
tar xf [filename]

This will expand the contents of the file to a folder. Then the commands are,
from the folder:

./configure
make
sudo make install

This will compile the VLC source code, and then install it into your system.
Because you are installing as root, this is why you must know that the
source of the file is trustworthy.

To compile vlc, you need at least the following libraries installed:

libdvbpsi (compulsory) ,
mpeg2dec (compulsory) ,
libdvdcss if you want to be able to read encrypted DVDs ,
libdvdplay if you want to have DVD menu navigation ,
a52dec if you want to be able to decode the AC3 (i.e. A52) sound format often used
in DVDs ,
ffmpeg, libmad, faad2 if you want to read MPEG 4 / DivX files ,
libogg & libvorbis if you want to read Ogg Vorbis files .

You will probably also need to install the build-essential package to get a
compiler and associated commands.

More details here

Share
Improve this answer
Follow
edited Jul 22 at 8:28

mashuptwice
2,67322 gold badges1111 silver badges2323 bronze badges
answered Apr 21, 2015 at 3:59

Paul
57.9k1818 gold badges138138 silver badges166166 bronze badges
Add a comment
15
First, you should have xz installed on your system. If not:

# apt-get install xz-utils

Then, instead of "z" option in tar command (which is for zip), you must use
"J" (which is for xz):

$ tar xvfJ fich.tar.xz


Share
Improve this answer
Follow
answered Jun 16, 2018 at 7:24

jmrlegido
15111 silver badge22 bronze badges
Add a comment
2

I dug up an answer with a bit of searching.

https://askubuntu.com/questions/92328/how-do-i-uncompress-a-tarball-that-
uses-xz

tl;dr, use tar xf [filename]

Share
Improve this answer
Follow
edited Apr 13, 2017 at 12:22

CommunityBot
1
answered Apr 21, 2015 at 0:09

Matthew_Sp
16277 bronze badges
thanks for ur answer i extracted it.please tell me how to install..

– Black Swan

Apr 21, 2015 at 0:17

Add a comment
2

You can use tar xvf [filename] if you also want to see the files being extracted.
The z in your original code is used for gzip files.

Share
Improve this answer
Follow
answered Mar 9, 2018 at 5:41

FuruiTatsu
2111 bronze badge
Add a comment
1

Install this pakage

sudo apt-get install xz-utils

Go to the file direction and run this command to extract the package

tar -xvf {file name}


Share
Improve this answer
Follow
edited Sep 19, 2020 at 22:57

RamoFX
10322 bronze badges
answered Apr 6, 2020 at 8:36

Amer
1133 bronze badges
Add a comment
Highly active question. Earn 10 reputation (not counting the association
bonus) in order to answer this question. The reputation requirement helps
protect this question from spam and non-answer activity.
Not the answer you're looking for? Browse other questions tagged

linux
ubuntu

or ask your own question.

The Overflow Blog

· Continuous delivery, meet continuous security

· ·

Taking stock of crypto’s crash

Featured on Meta

Inbox improvements are live

Help us identify new roles for community members

Related
2
ubuntu update went wrong, pc doesnt boot, how can I repair it?

2
Problem with ubuntu 10.10 running from USB drive

0
knoppix cd booting tar extract error

2
How to install Skype on Fedora 22 64 bits

1
How to install downloaded node-v6.9.2-linux-x64.tar.xz file in ubuntu
14.04

4
How to install package from a .tar.lz file

14
Installing docker-ce in Ubuntu 18.04 breaks internet connectivity of host

Hot Network Questions

Why are the the elements of the stress-energy tensor not all symmetrical, and the
units are not all the same?
A property of even continuous functions on the sphere
Conservative Force: Translational Invariance
Responding to a reviewer who asks to clarify a sentence containing an irrelevant
word
Is 2001: A Space Odyssey's Discovery One still a plausible design for interplanetary
travel?
How is thermal energy split between kinetic energy and potential energy?
Linear PDE, analytic continuation, Green's function and boundary conditions
Is solving a quadratic programming optimization problem using python slower than
C++?
If/then constraint formulation
Godox X1T(F) + V850ii on Fuji XE-3: does TTL mode work?
Simple solution to let you know if you have not locked your closed door
How do I know whether a bookcase will rack/sag/twist if hung using butt hinges as
a (non-secret) "door"?
What d10 RPG is this cat playing?
Why does the length of a vowel before verb endings change?
Avoiding too curly contours in QGIS
Masters' advisor uses my work without citing it - Journal decided to intervene
Bitcoin chain reorganization
How can the fertility rate be below 2 but the number of births is greater than
deaths (South Korea)?
Solow model with population growth - proof of steady state level of capital per
worker
Is it OK to generate parts of a research paper using a large language model such as
ChatGPT?
Weird extra spacing in align*
A (non corny) mathematical puzzle
What does it mean to "tab out" in an IDE/text editor?
When did math start to be a hated subject in schools and universities?

Question feed

Super User

Tour
Help
Chat
Contact
Feedback

Company

Stack Overflow
Teams
Advertising
Collectives
Talent
About
Press
Legal
Privacy Policy
Terms of Service
Cookie Settings
Cookie Policy

Stack Exchange Network

Technology
Culture & recreation
Life & arts
Science
Professional
Business
API
Data

Blog
Facebook
Twitter
LinkedIn
Instagram

Site design / logo © 2022 Stack Exchange Inc; user contributions licensed
under CC BY-SA. rev 2022.12.2.43073

You might also like