Skip to content

Install, update and run vscode native on clear linux using bash and rpm

License

Notifications You must be signed in to change notification settings

inmanturbo/clr-code-rpm-sh

Repository files navigation

Install and update vscode native on clear linux using rpm.

A collection of simple bash scripts tied together with make, very easy to run.

Includes script for adding it to swupd's picky diagnose and repair "whitelist" using swupd config.

How to use

Install dependencies

sudo swupd bundle-add package-utils wget jq make

Clone this repo.

git clone https://github.com/inmanturbo/clr-code-rpm-sh.git

Change directory

cd clr-code-rpm-sh/

Install VsCode and build whitelist for swupd [optional]

sudo make install
Success. Rpm packages can be removed with 'rpm -e [release]'
Do you want to configure swupd to whitelist this package?
1) Yes
2) No
#?

Check for updates with optional update/install

make

Also (alias)

make check

Fetch latest and update or install (do not bother checking or whitelisting, runs with no interaction)[You Could run this on a cron job]

sudo make fetch

Also (alias)

sudo make update

Download latest version

make download

Cleanup downloads

make clean

Uninstall

sudo make remove

Whitelist only

sudo make whitelist

About

Install, update and run vscode native on clear linux using bash and rpm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published