Results 1 to 2 of 2

Thread: How to remove all texlive packages from command line?

  1. #1

    Default How to remove all texlive packages from command line?

    I have a system that I use as a simple media server and it does not need all of the thousands of texlive packages installed.
    How can I easily remove all texlive or other desktop publishing packages from the system using the command line?

    Thanks

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,387
    Blog Entries
    2

    Default Re: How to remove all texlive packages from command line?

    The package management command on openSUSE is zypper.
    It's extremely flexible and intuitive, and supports Regular Expressions...

    Searching for packages, you can specify partial names like
    Code:
    zypper search -i '*text*'
    If you can describe your package list sufficiently using the search above, then you can substitute "remove" for "Search" and remove the "-i" parameter that narrows the search to installed (not all) packages
    So, for instance if the above search term works for you (unlikely), then
    Code:
    zypper remove '*text*'
    You can use the abbreviations "se" for "search" and "rm" for "remove"

    You'll find comprehensive info about other zypper use
    Code:
    zypper --help
    And comprehensive documentation
    Code:
    man zypper
    There are also plenty of articles written on ways to use zypper on the Internet...

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •