Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-19-2016, 01:56 PM   #1
LQ Newbie
Registered: May 2016
Posts: 2

Rep: Reputation: Disabled
Question Error installing XZ Utils


I am very new on Linux. I have Ubuntu 16.04 LTS installed and I want to install XZ Utils but I get an error when I try to do it. Can you help me telling me what I am doing wrong? or what is missing me?

I execute this three shell commands:

make install

After executing make install I get this:

armi@armi-VirtualBox:~/Downloads/xz-5.2.2$ make install
Making install in src
make[1]: Entering directory '/home/armi/Downloads/xz-5.2.2/src'
Making install in liblzma
make[2]: Entering directory '/home/armi/Downloads/xz-5.2.2/src/liblzma'
Making install in api
make[3]: Entering directory '/home/armi/Downloads/xz-5.2.2/src/liblzma/api'
make[4]: Entering directory '/home/armi/Downloads/xz-5.2.2/src/liblzma/api'
make[4]: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p '/usr/local/include'
/bin/mkdir -p '/usr/local/include/lzma'
/bin/mkdir: cannot create directory ‘/usr/local/include/lzma’: Permission denied
/usr/bin/install -c -m 644 lzma/base.h lzma/bcj.h lzma/block.h lzma/check.h lzma/container.h lzma/delta.h lzma/filter.h lzma/hardware.h lzma/index.h lzma/index_hash.h lzma/lzma12.h lzma/stream_flags.h lzma/version.h lzma/vli.h '/usr/local/include/lzma'
/usr/bin/install: target '/usr/local/include/lzma' is not a directory
Makefile:391: recipe for target 'install-nobase_includeHEADERS' failed
make[4]: *** [install-nobase_includeHEADERS] Error 1
make[4]: Leaving directory '/home/armi/Downloads/xz-5.2.2/src/liblzma/api'
Makefile:510: recipe for target 'install-am' failed
make[3]: *** [install-am] Error 2
make[3]: Leaving directory '/home/armi/Downloads/xz-5.2.2/src/liblzma/api'
Makefile:1550: recipe for target 'install-recursive' failed
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory '/home/armi/Downloads/xz-5.2.2/src/liblzma'
Makefile:419: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/armi/Downloads/xz-5.2.2/src'
Makefile:612: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
Old 05-19-2016, 02:35 PM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
Welcome to LQ.
armi@armi-VirtualBox:~/Downloads/xz-5.2.2$ make install
Wrong. Must be $ sudo make install

? But why not use the Ubuntu package :
$ sudo apt-get update && sudo apt-get install xz-utils

Old 05-24-2016, 12:27 PM   #3
LQ Newbie
Registered: May 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
Talking Solved

Thank you knudfl, as simple as you say. Thanks for your help.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compilation Error in V4l2-utils test. digche Linux - Software 4 12-19-2012 03:27 AM
Compilation Error in V4l2-utils test. digche Linux - Newbie 1 12-07-2012 02:39 AM
installing bluez utils and openobex tar files! megha6788 Linux - Newbie 2 09-20-2008 03:32 PM
installing bridge-utils-1.0.4 DarkCaesar Linux - Newbie 0 08-21-2004 04:40 PM
error installing bin utils in chapter 6 +help+sos saurav_gohain Linux From Scratch 1 07-19-2003 03:30 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration