LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-09-2021, 08:46 PM   #1
JeffM wa us
LQ Newbie
 
Registered: Feb 2021
Posts: 3

Rep: Reputation: Disabled
Debian / Linuxcnc package install


Fresh install package today
Debian/LinuxCNC

After going through all the set up, I followed some basic instructions given to me to get going...

I began here...

jeff@LinuxCNC:~$ sudo apt-get update
[sudo] password for jeff:
Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Hit:2 http://deb.debian.org/debian buster InRelease
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Hit:4 http://www.linuxcnc.org buster InRelease
Get:5 http://dl.google.com/linux/chrome/deb stable InRelease [1,811 B]
Get:6 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,083 B]
Fetched 120 kB in 10s (11.5 kB/s)
Reading package lists... Done

Looks to me that I updated the packages fine

Then I did this...

jeff@LinuxCNC:~$ sudo apt install openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssh-server is already the newest version (1:7.9p1-10+deb10u2).
0 upgraded, 0 newly installed, 0 to remove and 67 not upgraded.
jeff@LinuxCNC:~$

Then...

jeff@LinuxCNC:~$ sudo service ssh start
jeff@LinuxCNC:~$


So far so good...

Then I installed Chrome with no problems. But I couldn't get the remote plugin installed. So I passed that set of instructions, and went on to getting Discord set up

I typed the following in and it took about four minutes to get back to a command line prompt.

jeff@LinuxCNC:~$ sudo wget -o discord.deb "https://discordapp.com/api/download?platform=linux&format=deb"
jeff@LinuxCNC:~$

I'm guessing this command got the files needed from the Discord server. But there was no acknowledgment here.

Then...

I did the install command

And then I get this...

jeff@LinuxCNC:~$ sudo dpkg -i ./discord.deb
dpkg-deb: error: './discord.deb' is not a Debian format archive
dpkg: error processing archive ./discord.deb (--install):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
./discord.deb
jeff@LinuxCNC:~$

Just so I can grow in my Linux knowledge, I am guessing that I in fact have apt-get on this build. And I see in my file manager, download folder, the Discord download is there.

I've tried right clicking on that file to use a different program builder. I see I have Synaptic, but truly don't have a clue what I'm doing with that.

I found Discord in there by searching for it. But then I didn't know which files to click. Nor is there anything that makes me think I'm installing Discord.

I could just use a little bit of direction help here. I'm just trying to learn enough to get me going in the right direction. Thanks
 
Old 02-10-2021, 02:08 PM   #2
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
jeff@LinuxCNC:~$ sudo apt-get update
---------------
Fetched 120 kB in 10s (11.5 kB/s)
Reading package lists... Done

Looks to me that I updated the packages fine
You updated the repository lists, not Debian. You would need to follow up the update command with upgrade: ---> sudo apt-get upgrade
Quote:
jeff@LinuxCNC:~$ sudo service ssh start
I'm not familiar with that Debian derivative, however Debian 10 Buster uses systemd init service. To enable a systemd service the command would be something like: ---> sudo systemctl start ssh
Quote:
jeff@LinuxCNC:~$ sudo dpkg -i ./discord.deb
To install a bash script in the same directory you are in from command line typically is done as such ---> ./run-this-script.sh
To install a Debian binary package with dpkg package manager you typically would do it like so ---> sudo dpkg -i discord.deb
 
Old 02-10-2021, 03:56 PM   #3
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Quote:
Originally Posted by JeffM wa us View Post
Code:
jeff@LinuxCNC:~$ sudo wget -o discord.deb "https://discordapp.com/api/download?platform=linux&format=deb"
Wrong option here. It should have been the capital -O, not -o. Instead of discord.deb, you saved the downloaded package as download?platform=linux&format=deb. And the text log of wget operations was saved to discord.deb.
 
Old 02-10-2021, 04:04 PM   #4
JeffM wa us
LQ Newbie
 
Registered: Feb 2021
Posts: 3

Original Poster
Rep: Reputation: Disabled
Solution

Appreciate you both!
 
  


Reply



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
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
Downloading Debian Wheezy for LinuxCNC and running into install troubles dbanks77 Debian 23 04-13-2018 10:25 PM
Looking to learn Linux and LinuxCNC so I can make a CNC router wmaraines LinuxQuestions.org Member Intro 1 02-17-2016 04:02 PM
Trying to setup LinuxCNC but cant see the 'Back' or 'Next' buttons on bottom of screen LinuxPi Linux - Newbie 2 07-25-2013 07:45 PM
CNC Mill Software - "LinuxCNC" odimachkie Linux - Software 2 01-31-2012 04:13 PM

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

All times are GMT -5. The time now is 03:17 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