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 10-04-2022, 03:20 AM   #1
Ant_1985
LQ Newbie
 
Registered: May 2021
Posts: 27

Rep: Reputation: Disabled
Command problem


Dear,
Could you help to the issues below?
Attached Thumbnails
Click image for larger version

Name:	1q.png
Views:	47
Size:	121.8 KB
ID:	39660  

Last edited by Ant_1985; 10-04-2022 at 03:24 AM.
 
Old 10-04-2022, 03:35 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,840

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
You gave no information about your system, so hard to say anything. What kind of OS is it at all? What did you try to achieve?
http://www.catb.org/~esr/faqs/smart-...html#beprecise
 
1 members found this post helpful.
Old 10-04-2022, 03:41 AM   #3
Ant_1985
LQ Newbie
 
Registered: May 2021
Posts: 27

Original Poster
Rep: Reputation: Disabled
Dear,
I'm on Ubuntu 20.04 version and want to resolve the issue in above.
 
Old 10-04-2022, 03:51 AM   #4
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,487

Rep: Reputation: Disabled
So, why are you using Redhat/Fedora commands, you should be using apt/synaptic on Ubuntu....
 
Old 10-04-2022, 03:53 AM   #5
Ant_1985
LQ Newbie
 
Registered: May 2021
Posts: 27

Original Poster
Rep: Reputation: Disabled
What are the equivalent commands to the ones in above (I posted)?
 
Old 10-04-2022, 03:54 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
https://code.visualstudio.com/docs/setup/linux

Follow the instructions for debian/ubuntu.

https://code.visualstudio.com/download

Last edited by michaelk; 10-04-2022 at 03:58 AM.
 
1 members found this post helpful.
Old 10-04-2022, 04:17 AM   #7
Ant_1985
LQ Newbie
 
Registered: May 2021
Posts: 27

Original Poster
Rep: Reputation: Disabled
Thanks. Within "ccsm" on Ubuntu, how to further work with Visual code (or project)?
 
Old 10-04-2022, 12:01 PM   #8
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
I suggest you read the documentation and help for vscode since it is a visual studio editor and ide and there is a lot of variation depending upon what you want to do. The links already given lead to that and once you have it installed and begin to try out the features then ask specific questions related to the details you do not understand. Generalized questions are too open-ended to really glean any helpful details and get specialized answers.

If you have done programming within an IDE of any type previously that experience will help, otherwise just install it following the instructions given then try it out and see what you can find. Ask detailed questions when you hit something that does not seem right or you cannot figure out an answer.

I don't know why you would need "ccsm' to use VScode. I don't on fedora.

Last edited by computersavvy; 10-04-2022 at 12:04 PM.
 
Old 10-04-2022, 10:47 PM   #9
Ant_1985
LQ Newbie
 
Registered: May 2021
Posts: 27

Original Poster
Rep: Reputation: Disabled
Thanks. I converted code-1.71.2-1663191299.el7.x86_64.rpm to code_1.71.2-1663191300_amd64.deb and did the proper installation. Where should be the place to call VS code after such setup?
 
Old 10-04-2022, 11:47 PM   #10
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,840

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
Quote:
Originally Posted by Ant_1985 View Post
Thanks. I converted code-1.71.2-1663191299.el7.x86_64.rpm to code_1.71.2-1663191300_amd64.deb and did the proper installation.
You ought to download the deb file from the official site, not the rpm. In that case you do not need to convert it to deb.
Quote:
Originally Posted by Ant_1985 View Post
Where should be the place to call VS code after such setup?
You can put it wherever you want. But in general (usually?) it is put (or you can put it) into your PATH therefore can be directly executed.
 
Old 10-05-2022, 03:41 PM   #11
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Installing from that rpm on my system put the command as /usr/bin/code. Have you checked if it was placed in the standard bin directory?
Code:
$ which code
/usr/bin/code
 
Old 10-15-2022, 06:57 PM   #12
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,416
Blog Entries: 43

Rep: Reputation: 36
Try sudo apt install packagename

You are currently using the wrong OSs commands, you are using what seems to be Fedora's command line from Ubuntu. This does NOT work. I want to make a distribution later where that does work as well, but it's difficult to do at this stage.

Last edited by des_a; 10-15-2022 at 06:59 PM.
 
  


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] [SOLVED] bash script: can echo command, command works if I type, but command doesn't work in script ... why? hopeless_n00b Linux - Newbie 10 07-12-2018 05:57 AM
Command Substitution: $(command) vs `command` penguinbody Linux - Newbie 9 04-15-2016 07:00 AM
problem with auditreduce command and praudit command preetishetty Linux - Security 0 12-03-2007 08:24 AM
bash: <command name> command not found smash Programming 5 03-13-2006 08:48 AM
java command - "bash: java: command not found" ??? RedHat123 Programming 2 07-16-2002 11:09 PM

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

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