Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[Solved] Looking for computer/lib folder
[Solved] Looking for computer/lib folder
I am using a Chromebook with a linux VM running Debian (Bullseye I think) and I am trying to manually install some audio plugins. According to my linux file manager (I think it is Konqueror) the folders are in computer/lib. I found the folders but the file manager tells me I cannot paste anything into them or change permissions because I am not the owner, even though I am the owner. I tried using the chromebook file manager instead and couldn't even find the computer/lib folder.
Last edited by Brian W on 2023-03-26 17:55, edited 1 time in total.
- Hallvor
- Global Moderator
- Posts: 2042
- Joined: 2009-04-16 18:35
- Location: Kristiansand, Norway
- Has thanked: 151 times
- Been thanked: 212 times
Re: Looking for computer/lib folder
Please tell us what plugins you try to install and what you are trying to accomplish. No offense, but there may be better ways than copying files to /lib.
computer/lib is not a path in Linux. There is a /lib, though, owned by root. Linux practices a separation between root files/folders and user files/folders, and if you try to make system wide changes as user, you'll run into problems with permissions.
In the rare case where you need to copy files to a folder like /lib, place the plugin in your home directory and let's say that your user is brian and the plugin is called mycoolplugin.so:
(if you have sudo) or
Enter root password, and
computer/lib is not a path in Linux. There is a /lib, though, owned by root. Linux practices a separation between root files/folders and user files/folders, and if you try to make system wide changes as user, you'll run into problems with permissions.
In the rare case where you need to copy files to a folder like /lib, place the plugin in your home directory and let's say that your user is brian and the plugin is called mycoolplugin.so:
Code: Select all
sudo cp /home/brian/mycoolplugin.so /lib
Code: Select all
su -
Enter root password, and
Code: Select all
cp /home/brian/mycoolplugin.so /lib
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
Re: Looking for computer/lib folder
They are audio plugins and they need to go in lib/vst and lib/vst3 otherwise audio hosts can't find them. To correct my previous mistake, the Debian file manager I am using is Nautilus, in case that changes anything.
So I would type sudo cp /home/brian/libtal-chorus-lx.so /lib/vst Do I need to use all lower case?
So I would type sudo cp /home/brian/libtal-chorus-lx.so /lib/vst Do I need to use all lower case?
Re: Looking for computer/lib folder
This was the response:
sudo cp /home/brian/libtal-chorus-lx.so/lib/vst
cp: missing destination file operand after '/home/bpweston23/libtal-chorus-lx.so/lib/vst'
Try 'cp --help' for more information.
sudo cp /home/brian/libtal-chorus-lx.so/lib/vst
cp: missing destination file operand after '/home/bpweston23/libtal-chorus-lx.so/lib/vst'
Try 'cp --help' for more information.
Re: Looking for computer/lib folder
I've been searching the internet and I discovered another command, sudo chown -R yourusername:yourgroupname dirname Unfortunately it gave me a missing operand after. I think this is the way I want to go if I can sort it out, then I can simply move files in Nautilus.
Re: Looking for computer/lib folder
You missed a space
Code: Select all
sudo cp /home/brian/libtal-chorus-lx.so/lib/vst
Code: Select all
sudo cp /home/brian/libtal-chorus-lx.so /lib/vst
- Hallvor
- Global Moderator
- Posts: 2042
- Joined: 2009-04-16 18:35
- Location: Kristiansand, Norway
- Has thanked: 151 times
- Been thanked: 212 times
Re: Looking for computer/lib folder
Yes, as 4D696B65 states, you are missing a space.
I would not alter ownership recursively of a large system directory like /lib. This can cause system instability.
I would not alter ownership recursively of a large system directory like /lib. This can cause system instability.
Linux is case sensitive, so libtal-chorus-lx.so is for instance different from Libtal-chorus-lx.soDo I need to use all lower case?
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
Re: Looking for computer/lib folder
Thank you both. It worked nicely once I typed everything correctly!
- sunrat
- Administrator
- Posts: 6494
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 476 times
Re: [Solved] Looking for computer/lib folder
I use quite a lot of manually installed audio plugins. They all go in my home directory in /home/username/.vst (or .vst3 or .lv2 depending on the format of the plugin). Most audio programs such as Ardour, Audacity etc. search there for plugins by default. Putting them in a system directory like /lib makes permissions more difficult and would only be necessary if you have multiple users. I also think it should be /usr/lib/ rather than /lib/ (/lib is a symlink to /usr/lib so they probably end up there anyway).
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: [Solved] Looking for computer/lib folder
The packages installed there by default, that's why I wanted to use it but that's a great idea to create my own folders and then set Carla to look for them there. It should have been obvious really, as that is how I did it when I was using Windows.sunrat wrote: ↑2023-03-26 22:12 I use quite a lot of manually installed audio plugins. They all go in my home directory in /home/username/.vst (or .vst3 or .lv2 depending on the format of the plugin). Most audio programs such as Ardour, Audacity etc. search there for plugins by default. Putting them in a system directory like /lib makes permissions more difficult and would only be necessary if you have multiple users. I also think it should be /usr/lib/ rather than /lib/ (/lib is a symlink to /usr/lib so they probably end up there anyway).