Announcement

Collapse
No announcement yet.

Linux: How to install stuff that isn't available in my package manager?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Linux: How to install stuff that isn't available in my package manager?

    I need to install the latest one here: https://pecl.php.net/package/memcached
    So in our Ubuntu server, I do:
    apt-get install php-memcached
    But this installs 3.0.1
    Searching (apt-cache) for "memcached" reveals nothing extra

    So... Do I need to add a new repository? Or do it manually somehow?

    #2
    If you're downloading it from that website above, you'll need to compile it from the source code - the software versions you get via apt-get install are the most recent version currently available on the OS repositories (and on Ubuntu it's rarely the most recent, you'd need a rolling distro for that like Arch at the cost of stability).

    If you follow this guide you should be able to get it up and running: https://docs.vultr.com/how-to-instal...n-ubuntu-20-04

    You'll install it as a service daemon after you've compiled to the binaries.
    Last edited by MartyG; 03-04-2025, 23:01.

    Comment


      #3
      Turns out the ubuntu version the server is on isn't compatible with the latest memcached. Server upgrade first

      Comment

      Working...
      X