LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-05-2016, 06:58 PM   #1
01UkAtO
LQ Newbie
 
Registered: Apr 2016
Posts: 9

Rep: Reputation: Disabled
Big Trouble Installing APT


HI
I have a NAS which as far as i can work out is running Debian, On which i am attempting to install APT. I cannot install APT because it requires either a display or working x11 forwarding, I cannot get the forwarding working because i do not have any xorg packages installed. I cannot install any packages because i do not have build-essentials installed. Nor do i have any compiler or make installed. All i have to work with is VIM, WGET and DPKG.

Any help on this would be greatly appreciated.
 
Old 04-06-2016, 05:29 AM   #2
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Rep: Reputation: 72
Can you please post the output of
Code:
cat /etc/os-release
? It's quite interesting that apt is not installed by default. How about aptitude?
Code:
which aptitude
 
Old 04-06-2016, 07:40 AM   #3
01UkAtO
LQ Newbie
 
Registered: Apr 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
Dont have aptitude nor do i have an OS-release file. This seems to be a very striped down release.
 
Old 04-06-2016, 07:42 AM   #4
01UkAtO
LQ Newbie
 
Registered: Apr 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
I would need some way to install build-essentials without needing make or a compiler.
 
Old 04-06-2016, 07:44 AM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,644

Rep: Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366
Then you are not running Debian. apt is the package manager and is one of the only things that is installed on a stripped-down version of Debian. Furthermore apt doesn't require a display manager of any kind as it is purely command line.
Perhaps you should find out which distribution you are running?
 
Old 04-06-2016, 07:51 AM   #6
01UkAtO
LQ Newbie
 
Registered: Apr 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
If i type in "dmesg | head -1" i get "[ 0.000000] Initializing cgroup subsys cpuset". If i type in "cat /proc/version" i get "Linux version 3.10.77 (root@build4) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #7321 SMP Wed Mar 23 11:48:26 CST 2016"
 
Old 04-06-2016, 08:08 AM   #7
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,644

Rep: Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366
Are you using a Synology NAS by any chance? If so, you are not using Debian but a custom Linux by Synology themselves. If that is the case you will likely have a hard time doing anything that Synology haven't built into the OS because it's not made as a general-purpose OS at all.
 
Old 04-06-2016, 08:10 AM   #8
01UkAtO
LQ Newbie
 
Registered: Apr 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
I am if fact using a synology DS216+. But its still a linux build, Meaning i should be able to run something like APT, YUM, or aptitude.
 
Old 04-06-2016, 08:21 AM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,135

Rep: Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342
What is the make/model of your NAS. What are you trying to install or what are you trying to accomplish?

NAS are embedded devices and not your typical PC. They have limited memory, no graphics capability, no BIOS, usually not a x86/64 processor and so do not run a desktop operating system.
 
Old 04-06-2016, 08:24 AM   #10
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,644

Rep: Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366
Quote:
Originally Posted by 01UkAtO View Post
I am if fact using a synology DS216+. But its still a linux build, Meaning i should be able to run something like APT, YUM, or aptitude.
That does not follow at all. You may or may not be able to compile a package manager but that's really up to what Synology decided to let you do and, as mentioned above, the capabilities and architecture of the device.
 
Old 04-06-2016, 08:25 AM   #11
01UkAtO
LQ Newbie
 
Registered: Apr 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
It is a Synology Ds216+ with and x64 celeron CPU and 4GB or RAM. I got it because my original nas had an ARM processor and i wanted to run small server programs off it e.g Teamspeak.

Last edited by 01UkAtO; 04-06-2016 at 08:26 AM.
 
Old 04-06-2016, 08:26 AM   #12
01UkAtO
LQ Newbie
 
Registered: Apr 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
Is there anyway i can pull the build-essential from something like Debian squeeze and transplant it in? That way i could compile programs from source
 
Old 04-06-2016, 08:29 AM   #13
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,644

Rep: Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366
What on earth makes you think that Debian is a place to get universal packages? You could try searching for build-essential for your device on the relevant forums, perhaps. You're not running Debian or any other mainstream distribution so you can't just turn it into one of those. I suppose Arch, Gentoo or Linux From Scratch may have source packages and build scripts you could modify but it's not guaranteed they will work.
 
Old 04-06-2016, 08:43 AM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,135

Rep: Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342
See post #5.
http://forum.teamspeak.com/threads/7...gy-%28Linux%29
 
Old 04-06-2016, 07:38 PM   #15
01UkAtO
LQ Newbie
 
Registered: Apr 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
I have teamspeak server installed, I just used wget to download the server files right from their site. I guess i thought Linux packages were a bit more universal. Thanks for the help though guy i do appreciate it.
 
  


Reply


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
New to linux facing big trouble in installing drivers ah.salem Linux - Hardware 2 09-28-2008 08:26 PM
Having trouble installing apt-get in Slackware 11 s3phir0th115 Linux - Desktop 3 01-23-2007 05:08 PM
Trouble installing tcpdump using apt-get tripwire45 Debian 4 01-19-2005 11:00 AM
Big Trouble with XFree86 after apt-get dist-upgrade gamehack Debian 1 01-11-2004 08:49 AM
Installing RH 9 with RAID 5 --Big, big Problem!!! rhonneil Linux - Software 2 09-25-2003 08:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:47 AM.

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