You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Execute file error

Author (Read 4833 times)

0 Members and 1 Guest are viewing this topic.

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

LL-user

  • I come here a lot
  • *****
  • 455
    Posts
  • Reputation: 214
  • Linux Lite Member
    • View Profile
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.
 

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

N4RPS

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

  • 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 #8 on: March 26, 2015, 01:32:15 PM »
 

LL-user

  • I come here a lot
  • *****
  • 455
    Posts
  • Reputation: 214
  • Linux Lite Member
    • View Profile
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 #7 on: March 26, 2015, 12:29:28 PM »
 

Heebma

  • New to Forums
  • *
  • 3
    Posts
  • Reputation: 2
  • Linux Lite Member
    • View Profile
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 #6 on: March 24, 2015, 02:15:40 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • 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 #5 on: March 24, 2015, 12:20:29 AM »
 

LL-user

  • I come here a lot
  • *****
  • 455
    Posts
  • Reputation: 214
  • Linux Lite Member
    • View Profile
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 #4 on: March 23, 2015, 11:58:10 PM »
 

shengchieh

  • Forum Regular
  • ***
  • 155
    Posts
  • Reputation: 46
  • Linux Lite Member
    • View Profile
    • 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 #3 on: March 23, 2015, 03:59:06 PM »
 

Heebma

  • New to Forums
  • *
  • 3
    Posts
  • Reputation: 2
  • Linux Lite Member
    • View Profile
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 #2 on: March 22, 2015, 05:59:52 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • 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.
 

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

Heebma

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

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section