Linux Lite Forums

Software - Support => Installing Software => Topic started by: Heebma on March 22, 2015, 03:29:21 PM

Title: Execute file error
Post by: Heebma on March 22, 2015, 03:29:21 PM
I have installed a program but ( executable ) it does not start up ?
I have unpacked it from a tar.gz file but after that is only the execute file not working...
Title: Re: Execute file error
Post by: Jerry on March 22, 2015, 05:59:52 PM
Heebma, we are going to need a lot more information than 'a program'. What program? Where did you get it from? Thank you.
Title: Re: Execute file error
Post by: Heebma on March 23, 2015, 03:59:06 PM
Dear Jerry,

it's the popcorn time fille from the site. Packed in tar.gz and then according the help module unpack........
Title: Re: Execute file error
Post by: shengchieh on March 23, 2015, 11:58:10 PM
Usually (but not always) tarball needs to be unpack and compile.  After you unpack, do you see a README.txt (or something simliar) file.  If so, read it.
here's some link about compiling softwares.

http://www.maximumpc.com/article/howtos/howto_compile_programs_from_source_linux (Compile Programs From Source in Linux)
http://www.tuxfiles.org/linuxhelp/softinstall.html (Installing software from source in Linux)
http://www.linux.lk/software/compiling.php (Compiling Software Packages; 2003)
http://howto.wired.com/wiredhowtos/index.cgi?page_name=compile_software_from_source_code;action=display;category=Work (Compile Software from Source Code)
http://liquidweather.net/howto/index.php?id=82 (compiling software)

Sheng-Chieh
Title: Re: Execute file error
Post by: LL-user on March 24, 2015, 12:20:29 AM
Hi Heebma,

I know the following is not solving the root cause of your problem and I do encourage you to dig deeper to find out what's going on. In regard to that it would be necessary for you to post more details of what you exactly have done and what exactly you encounter, what output/ errors you get.

If you just want it to work I would suggest to use the available PPA. It also would make sure you are keeping updated.

Run the following commands and you should find a "Popcorn Time" menu entry under Internet:

$ sudo apt-add-repository ppa:webupd8team/popcorntime
-> confirm that you want to add it

$ sudo apt-get update && sudo apt-get install popcorn-time -y
Title: Re: Execute file error
Post by: Jerry on March 24, 2015, 02:15:40 AM
Right click on the file, select 'Make file executable'. Then double click on it.
Title: Re: Execute file error
Post by: Heebma on March 26, 2015, 12:29:28 PM
Thanks for al the reply's . I am a beginner but lurning a lot. It's still not working because with every offered commands i'm getting errors.

Thanks a lot
 
Title: Re: Execute file error
Post by: LL-user on March 26, 2015, 01:32:15 PM
Hi Heebma,

If you post which command you've tried and which errors you got then we might be able to help you :)
Title: Re: Execute file error
Post by: N4RPS on March 29, 2015, 03:15:43 AM
Hello!

Heebma, did you get this error?

E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

You probably did, because I did, also. You got this error because of a syntax error:

Code: [Select]
$ sudo apt-get update && apt-get install popcorn-time -y.

The correct syntax is as follows:

Code: [Select]
$ sudo apt-get update && sudo apt-get install popcorn-time -y.

Change this, and LL-user's reply SHOULD work for you.

Unless you're in a root terminal ('#' instead of' '$'), when concatenating sudo commands, both commands must start with sudo.

(The usage of root terminals is discouraged. It makes it much easier to inflict catastrophic ignorance upon your own system.)

No offense intended to anyone, but it is what it is...

73 DE N4RPS
Rob


Title: Re: Execute file error
Post by: LL-user on March 29, 2015, 05:14:30 AM
Thanks Rob! :)

And sorry for the syntax error :(  ... I myself run all root commands in a root shell without sudo, therefore didn't run into any error.