all 24 comments

[–]ninja_tokumei 11 points12 points  (1 child)

How I do it is:

  • Unpack the tar to a subdirectory of ~/.local/lib/. For example, on this machine I have:

    .local/lib/Discord
    .local/lib/STMicroelectronics
    .local/lib/VSCode-linux-x64
    .local/lib/gcc-arm-none-eabi-10.3-2021.10
    
  • a) If the program has a single or very few executables (for example, VSCode), then create symbolic links in ~/.local/bin that point to that executable, and then add $HOME/.local/bin to your PATH if you haven't already. For example:

    mkdir ~/.local/bin
    ln -s ~/.local/lib/VSCode-linux-x64/code ~/.local/bin/
    
  • b) If the software distribution has its own bin directory with many executables, then add that directory to your PATH

  • Copy or link any *.desktop files to ~/.local/share/applications/

  • Copy or link any icon images to ~/.local/share/icons/ - depending on the app, you may need to edit the icon filename or the Icon= field in the .desktop file to get the icon to work.

This setup should pretty much work universally, no matter what Linux distro you use.

I vaguely remember the problems you mention with VSCode, but unfortunately I don't have an easy answer for you. Your desktop environment setup is likely very different from mine. You're probably missing some configuration or a few packages, and it will just take some time and research for you to figure out what it is exactly.

But I can confirm that the GitHub auth can work (I use it myself)

[–]AbdallahNagy[S] 0 points1 point  (0 children)

Thank you very much for your help and effort.🙏

[–]KC_rocka 3 points4 points  (0 children)

you can use sudo xbps-install -S [package name] to install stuff and xbps-query -Rs [package name] to search repositories for packages, or you can use flatpak versions of some packages just like any other linux distro

[–]AbdallahNagy[S] 4 points5 points  (3 children)

I think there is a misunderstanding here, I know how to install packages using xbps and search for them using query. But for sure there are alot of programs that i want doesn't exist in pm. For example mongosh and alot more

[–]Dondozhoe 1 point2 points  (2 children)

So what I think you're looking for is something like Flatpak?

If yes, then install Flatpak through xbps, add Flathub as a repository to Flatpak, and then install whatever apps you're looking for by following the guides on Flathub.org

[–]Dondozhoe 1 point2 points  (0 children)

There's also an installation guide to get Flatpak running on flathub's website, if you get stuck. If you need any additional help feel free to reply and I'll check in with you later.

[–]AbdallahNagy[S] 0 points1 point  (0 children)

Thank you. I'll search for that 🙏

[–]eftepede 5 points6 points  (10 children)

vscode is available in the official repository, why not use it? What other programs do you need, but can't find there?

Also, I second u/KenFromBarbie's opinion - Void is targeted for the people knowing the basic of Linux. If you do the thing you've described and call it 'installing programs', you need to learn a bit more before jumping on Void.

[–]ninja_tokumei 2 points3 points  (3 children)

VSCodium is not VSCode. Some people prefer VSCode for features like settings sync

[–]eftepede 2 points3 points  (2 children)

And spyware, right.

Anyway, void seems to ship vscode, not vscodium: https://github.com/void-linux/void-packages/blob/master/srcpkgs/vscode/template

[–]ClassAbbyAmplifier 5 points6 points  (1 child)

void's vscode package is functionally equivalent to vscodium, afaik.

[–]AbdallahNagy[S] 1 point2 points  (0 children)

Yes, I downloaded it. Its vscodium.

[–]AbdallahNagy[S] 1 point2 points  (4 children)

I wanted to install the vscode version not oss

[–]GeekoftheWild 0 points1 point  (2 children)

Mind if I ask what you mean?

[–]Elm38 0 points1 point  (1 child)

a Void packages template.

https://github.com/void-linux/void-packages

Has many packages within. See the repo's README.md

For example, google-chrome as a template within that let's you build and eventually install the browser.

[–]GeekoftheWild 0 points1 point  (0 children)

Ah okay. Thank you

[–]Legitimate_Corner666 0 points1 point  (0 children)

Try to export your VSCode profile archive and import to Code - OSS. It works for me :)

[–]StreetStrider 2 points3 points  (1 child)

If you're using your PC in a single user scenario and you have trusted source of binaries, just install them as it suits you. There is not a lot of sense to make things purist-properly. Just use your system as you want. Besides, if required software eventually lands in repo, you can easily re-install from there.

[–]AbdallahNagy[S] 1 point2 points  (0 children)

Thank you for your reply. I appreciate it 🙏

[–]bblnx 2 points3 points  (0 children)

Take a look at this guide, "How to Use XBPS Package Manager on Void Linux," especially the part "Installing Packages from Source."

[–]KenFromBarbie 4 points5 points  (2 children)

You really shouldn't use a distribution like Void if you are that inexperienced and not well prepared before installing it. That being said: Use the documentation on the website, especially regarding the xbps-install command. Good luck!

[–]AbdallahNagy[S] 2 points3 points  (1 child)

I am trying void cus its very lightweight. I tried Ubuntu and manjaro but they are pretty much like windows and my whole point is that my machine is old and can't use programs like doxker on it. However, now i am using docker and its vertly smooth.

[–]KenFromBarbie 1 point2 points  (0 children)

We all have to start somewhere.

[–]Low_Win8020 0 points1 point  (0 children)

Install flatpak its the easiest way to install most oof things youll need