So I decided to install a package (a daemon/service actually) and it went smoothly. I know I need to configure this package but I cannot find the config file.
On Ubuntu, most daemons/services create an “init” script in /etc/init.d. I cannot find the package init script in /etc/init.d
Edited first page. But I seemed to recall that in Ubuntu it’s possible to "view the log"and see all the files that’s installed for any package. I can’t remember the exact command now.
PS. I did a find for the conf file using sudo find / -iname “myfilehere” -type f and it didn’t come up.
My question is not for a specific package but for --any-- package.
I seemed to recall that in Ubuntu it’s possible to "view the log"and see all the files that were installed for any package. I can’t remember the exact command now.
PS. I did a find for the conf file using sudo find / -iname “myfilehere” -type f and it didn’t come up.
My question is not for a specific package but for --any-- package.
I seemed to recall that in Ubuntu it’s possible to "view the log"and see all the files that were installed for any package. I can’t remember the exact command now.
PS. I did a find for the conf file using sudo find / -iname “myfilehere” -type f and it didn’t come up. Also there’s no package folder in /etc. That’s the first place that I checked.
You are to vague about what you are doing and having. Pointing to Ubuntu might not help. Most here run openSUSE and have no idea about Ubuntu peculiarities. There is no general answer for “any package”. It depends on how close a package is designed with openSUSE in mind.
When a package installed with YaST/zypper, you can find the files that are installed with YaST > Software > Software Management, Search for the package in the Search field, then select the package at right. Right below are tabs, choose the Files tab and see them.
When it is not from a repository, but just an RPM you installed, inpspect the RPM as given above.
When it is a different type of installation, it depends complete about what you have/got.
When it is a service/daemon, it again depends on what it is/where it is from. “Normal” packages from the repos, will show up in YaST > System > Services Manager were you can start/stop enable/disable them.
BTW openSUSE uses systemd and it is unlikely that services/daemons using it will install things in /etc/init.d. They are more likely to install systemd unit files ,etc. in their proper places.
Hi
So, openSUSE uses systemd these days, so there is possible a systemd service file rather than an init file…;
systemctl status <some_daemon>
The above command will also provide info on where it’s living and even man page details if applicable.
Then if specific options are to be add, these should be in a /etc/sysconfig/<some_daemon> which can be edited with YaST /etc/sysconfig editor (or manually).
On Sun, 27 Aug 2017 12:56:01 +0000, mrjayviper wrote:
> Sauerland;2835762 Wrote:
>> /etc/xxxxx?
>>
>> Which package?
>> Link?
>
> My question is not for a specific package but for --any-- package.
>
> I seemed to recall that in Ubuntu it’s possible to "view the log"and see
> all the files that were installed for any package. I can’t remember the
> exact command now.
>
> PS. I did a find for the conf file using sudo find / -iname “myfilehere”
> -type f and it didn’t come up.
you want a specific answer for a general question
mine is to open said rpm file with an archive manager like Ark or Filer Roller or Double Commander
and see the file structure inside the rpm archive it will show you the file and folder structure and you can open/extract said files without installing the rpm
With openSUSE and “zypp” (the CLI interface is “zypper”) the log of all the changes made to the system by the installation or removal of RPM packages (“Yet Another Difference To Ubuntu” -->> “YADTU”) is located in “/var/log/zypp/” with the name “history” and, it’s world readable – normal users can browse “/var/log/zypp/history” with the CLI command “less”.
Checking if everything has been installed correctly is normally done by using a “normal” user to execute the following CLI command:
> zypper verify --details
Loading repository data...
Reading installed packages...
Dependencies of all installed packages are satisfied.
>
A more detailed view may be obtained by using either “rpm --verify <Package Name>” or “rpm --verify --all” preferably (to allow access to all the directories and files involved) from a CLI of the user “root”. For an explanation of the “rpm” output, the man page has to be consulted.
… or, for GUI users, simply go into Yast=>Software Manager and search out the installed package, select it, and you have tabs, Description tab is usually the default showing.
Click on the tab “File List”, also check out dependencies.