You are Here:
Linux Lite 5.0 Final is now available for download and installation



Execute file error

Author (Read 3139 times)

0 Members and 1 Guest are viewing this topic.

Execute file error
« on: March 22, 2015, 03:29:21 PM »
 

Heebma

  • New to Forums
  • *
  • 3
    Posts
  • Reputation: 2
  • Linux Lite Member
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...
Last Edit: March 24, 2015, 10:47:46 AM by Scott(0)
 


Re: Execute file error
« Reply #1 on: March 22, 2015, 05:59:52 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 7694
    Posts
  • Country: nz
  • Reputation: 728
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 5.0 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Heebma, we are going to need a lot more information than 'a program'. What program? Where did you get it from? Thank you.
 

Re: Execute file error
« Reply #2 on: March 23, 2015, 03:59:06 PM »
 

Heebma

  • New to Forums
  • *
  • 3
    Posts
  • Reputation: 2
  • Linux Lite Member
Dear Jerry,

it's the popcorn time fille from the site. Packed in tar.gz and then according the help module unpack........
 

Re: Execute file error
« Reply #3 on: March 23, 2015, 11:58:10 PM »
 

shengchieh

  • Forum Regular
  • ***
  • 155
    Posts
  • Reputation: 46
  • Linux Lite Member
    • Tux's Links
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
 

Re: Execute file error
« Reply #4 on: March 24, 2015, 12:20:29 AM »
 

LL-user

  • I come here a lot
  • *****
  • 448
    Posts
  • Country: 00
  • Reputation: 214
  • Linux Lite Member

  • Linux Lite: 2.8 64bit
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
Last Edit: April 01, 2015, 03:23:07 AM by LL-user
 

Re: Execute file error
« Reply #5 on: March 24, 2015, 02:15:40 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 7694
    Posts
  • Country: nz
  • Reputation: 728
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 5.0 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Right click on the file, select 'Make file executable'. Then double click on it.
 

Re: Execute file error
« Reply #6 on: March 26, 2015, 12:29:28 PM »
 

Heebma

  • New to Forums
  • *
  • 3
    Posts
  • Reputation: 2
  • Linux Lite Member
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
 
 

Re: Execute file error
« Reply #7 on: March 26, 2015, 01:32:15 PM »
 

LL-user

  • I come here a lot
  • *****
  • 448
    Posts
  • Country: 00
  • Reputation: 214
  • Linux Lite Member

  • Linux Lite: 2.8 64bit
Hi Heebma,

If you post which command you've tried and which errors you got then we might be able to help you :)
 

Re: Execute file error
« Reply #8 on: March 29, 2015, 03:15:43 AM »
 

N4RPS

  • Donator
  • Platinum Level Poster
  • **********
  • 1149
    Posts
  • Country: us
  • Reputation: 154
  • Knows JUST ENOUGH Linux to be DANGEROUS
    • Orphans for Christ, Self Advocates of Mecklenburg

  • Linux Lite: 2.6 64bit

  • CPU: Several Different 32-bit & 64-bit CPUs, 2-8 GB RAM

  • MEMORY: 8Gb

  • VIDEO CARD: Several Different AMD and Intel GPUs
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




A gun in your hand is worth more than a whole police force on the phone.
 

Re: Execute file error
« Reply #9 on: March 29, 2015, 05:14:30 AM »
 

LL-user

  • I come here a lot
  • *****
  • 448
    Posts
  • Country: 00
  • Reputation: 214
  • Linux Lite Member

  • Linux Lite: 2.8 64bit
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.
 


Tags:
 


Linux Lite 5.0 Final is now available for download and installation